package com.wangdao.mall.service;

import com.wangdao.mall.model.*;

import java.util.List;

/**
 * @Author:HaiyangTian
 * @Description:
 * @Date: Created in 18:53 2020/5/3
 * @Modified By:
 */
public interface OrderService {

    OrderResponse ordersByPage(OrderRequestParam param);

    OrderInfo getOrder(String id);

    int changeOrder(OrderUpdate update);

    int deleteOrder(String id);

    int addOrder(Cart cart);

    List<OrderList> getOrderByState(String state, String token);

    void settleAccounts(CartLists cartList);

    int confirmReceive(String id);

    int pay(String id);
}
